package Day001_继承_抽象类.zuoye02;

public class jiaolianyuan extends person {

    private String bianhao;

    public jiaolianyuan() {
    }

    public jiaolianyuan(String bianhao) {
        this.bianhao = bianhao;
    }

    public String getBianhao() {
        return bianhao;
    }

    public void setBianhao(String bianhao) {
        this.bianhao = bianhao;
    }

    public void eat(){
        System.out.println("吃工作餐");
    }
}
